import FilmPage from '@/views/films/FilmPage.vue'
import NowPlaying from '@/views/films/NowPlaying.vue'
import ComingSoon from '@/views/films/ComingSoon.vue'
const routes = [
  {
    path: '/films',
    component: FilmPage,
    redirect: '/films/nowPlaying',
    children: [
      {
        path: 'nowPlaying',
        component: NowPlaying
      },
      {
        path: 'comingSoon',
        component: ComingSoon
      }
    ]
  }
]
export default routes
